package com.concurrent.sample.business.entity;

import com.concurrent.sample.common.entity.AuditingEntity;
import javax.persistence.Entity;
import lombok.Data;
import lombok.experimental.Accessors;

@Entity
@Data
@Accessors(chain = true)
public class PositionEntity extends AuditingEntity {

  private String symbol;

  private String customerNo;

  /**
   * 可卖数量
   */
  private Long availableSaleQty;

  /**
   * 可买数量
   */
  private Long availableBuyQty;

  /**
   * 当日卖出数量
   */
  private Long intradaySoldQty;

  /**
   * 当日买入数量
   */
  private Long intradayBuyQty;

  /**
   * 剩余约券数量
   */
  private Long leaveLoanQty;

  /**
   * 剩余空头数量
   */
  private Long leaveShortQty;

  /**
   * 可还的数量
   */
  private Long returnableQty;

}
